<?php namespace App\Admin\Supplier\Supplier;

use App\Core\Model as BaseModel;

class Model extends BaseModel {

    protected $table = 'supplier';
    protected $primaryKey = 'id';

    public function admin(){
        return $this->belongsTo('App\Admin\Access\User\Model', 'admin_id', 'user_id');
    }

}